<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<% String adminName = request.getParameter("adminName");%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <title>用户注册</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

    <link rel="stylesheet" type="text/css" href="css/register.css">

    <script type="text/javascript" src="<%=basePath%>/jslib/jquery.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/register/verify.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/register.js"></script>
</head>


<body onload="document.register.userName.focus();">
<div id=top>
    <div id=logo></div>
</div>
<div id=register>
    <form action="Person!register.action" name="Regform" id="Regform" method="post">
        <table width="830" cellpadding="0" cellspacing="0">
            <tr>
                <td width="140" align="right">用户名：</td>
                <td width="300">
                    <input type="text" name="userName" id="Tname" class="input" onblur="Cname()">
                </td>
                <td width="383" align="left">
                    <div class="STYLE2" id="Rname">请输入您的昵称</div>
                </td>
            </tr>
            <tr>
                <td align="right">密码：</td>
                <td>
                    <input type="password" name="password" id="Tpwd1" class="input" onblur="Cpwd1()"/>
                </td>
                <td align="left">
                    <div class="STYLE2" id="Rpwd1">请输入您的密码</div>
                </td>
            </tr>
            <tr>
                <td align="right">密码确认：</td>
                <td>
                    <input type="password" name="password1" id="Tpwd2" class="input" onblur="Cpwd2()">
                </td>
                <td align="left">
                    <div class="STYLE2" id="Rpwd2">重新输入密码，要求两密码保持一致</div>
                </td>
            </tr>
            <tr>
                <td align="right">邮箱地址：</td>
                <td>
                    <input type="text" name="email" id="Temail" class="input" onblur="Cemail()">
                </td>
                <td align="left">
                    <div class="STYLE2" id="Remail">请提供合法有效的电子邮箱地址</div>
                </td>
            </tr>
            <tr>
                <td align="right">手机号码：</td>
                <td>
                    <input type="text" name="phone" id="Ttel" class="input" onblur="Ctel()">
                </td>
                <td align="left">
                    <div class="STYLE2" id="Rtel">请输入您的手机号</div>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="padding-left: 140px;">
                    <input type="submit" name="stb" value="立即注册" class="btn" id="stb" onfocus="this.blur();" onclick="return Result();"  />
                </td>
            </tr>
        </table>
    </form>
</div>
<div id=bottom></div>
</body>
</html>
